namespace blogsystem.Domain.NewsInfo.News;

using Youshow.Ace.Domain.Models;
using Microsoft.EntityFrameworkCore;

public class News : BaseModel<int>
{
    [Comment("文章ID")]
    public int Id { get; set; }
    [Comment("文章作者")]
    public string Author { get; set; }
    [Comment("文章标题")]
    public string Title { get; set; }
    [Comment("文章内容")]
    public string Content { get; set; }
    [Comment("文章摘要")]
    public string  KeyWords { get; set; }
    [Comment("文章类型编号")]
    public int CategoryId { get; set; }
    [Comment("文章类型名")]
    public string CategoryName { get; set; }
    [Comment("文章回复数")]
    public int ReplyCount { get; set; }
}